package job.gfp.ranks_v2;

import job.gfp.ranks_v2.algorithm.RanksV2_DRank;
import job.gfp.ranks_v2.algorithm.RanksV2_PageRank;
import job.gfp.ranks_v2.algorithm.RanksV2_TrustRank;

public enum RanksV2_AlgorithmLibrary {

    PAGERANK(new RanksV2_PageRank()), TRUSTRANK(new RanksV2_TrustRank()), DRANK(
            new RanksV2_DRank());

    private RanksV2_Algorithm algorithm;

    private RanksV2_AlgorithmLibrary(RanksV2_Algorithm algorithm) {
        this.algorithm = algorithm;
    }

    public RanksV2_Algorithm getAlgorithm() {
        return this.algorithm;
    }

}
